<?php
/*
 * For debugging only
 */
ini_set("display_errors",1);
ini_set("error_reporting",E_ALL);

/*
 * Require
 */
require_once '../3.0.0/HA.php';			// Setup: Require 'HA.php'.
require_once '../3.0.0/OAuth.php';		// Setup: Require 'OAuth.php'.

/*
 * Consumer
 */
$consumer_key = "MjEwNV-jK9CigmbdQ_zJa-FU8qDy";			
$consumer_secret = "MjEwNV_8vv9S3vRZwSLVItIrsZwu";	

$defaultConsumer = new HA_CONSUMER($consumer_key,$consumer_secret);
HA_GLOBAL::setDefaultConsumer($defaultConsumer);

/*
 * user_authorization.php
 */
define("OAUTH_CALLBACK","http://stud.cmd.hro.nl/0808380/oshyvesapilibphp5/examples/authorization_step1.php");
?>